<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>代理商充电保</title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
    <meta http-equiv="cleartype" content="on">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/assets/base/data/css/style.css">
</head>
<body>
<div class="wraper">
    <div class="header2 header white text-center">
        <a href="#" class="iconfont icon-chevron-left white"></a>
        <div class=" font-16">沉淀统计</div>
    </div>
    <div id="container" class="margin-t12" style="min-width:100%;height:210px"></div>
    <div class="content">
        <div class="box flex-center">
            <span class="iconfont icon-mingxishuju icon blue"></span>
            <span>明细数据</span>
        </div>
        <div class="box2 gray">
            <div class="data flex-between padding-0">
                <div>2017-11</div>
                <div>
                    <span>500元</span>
                    <span class="blue margin-l12">+10%</span>
                </div>
            </div>
            <div class="data flex-between padding-0 ">
                <div>2017-10</div>
                <div>
                    <span>500元</span>
                    <span class="red margin-l12">-10%</span>
                </div>
            </div>
            <div class="data flex-between padding-0">
                <div>2017-9</div>
                <div>
                    <span>500元</span>
                    <span class="blue margin-l12">+10%</span>
                </div>
            </div>
            <div class="data flex-between padding-0 ">
                <div>2017-8</div>
                <div>
                    <span>500元</span>
                    <span class="red margin-l12">-10%</span>
                </div>
            </div>
            <div class="data flex-between padding-0">
                <div>2017-7</div>
                <div>
                    <span>500元</span>
                    <span class="blue margin-l12">+10%</span>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/assets/base/data/js/jquery-2.1.0.min.js"></script>
<script src="/assets/base/data/js/highcharts.js"></script>
<script src="/assets/base/data/js/exporting.js"></script>
<script src="/assets/base/data/js/highcharts-zh_CN.js"></script>
<script>
    $(function () {
        $('#container').highcharts({
            chart: {
                type: 'column'
            },
            title: {
                text: '近6个月环比增长率数据',
                style: {
                    fontSize: '14px'
                }
            },
            xAxis: {
                categories: ['6月', '7月', '8月', '9月', '10月', '11月'],
                tickWidth: 0 // 主刻度的宽度
            },
            yAxis: {
                title: {
                    text: ''
                },
                labels: {
                    formatter: function () {
                        var num = this.value;
                        var num2 = (num - 100) / 100;
                        if (num == 100) {
                            return num;
                        } else if (num > 100) {
                            return '+' + num2 * 100 + '%';
                        }
                        else {
                            return num2 * 100 + '%';
                        }

                    }
                }
            },
            exporting: {
                enabled: false
            },
            plotOptions: {
                series: {
                    borderWidth: 0,
                    threshold: 100
                }
            },
            credits: {
                enabled: false
            },

            legend: {
                enabled: false
            },

            series: [{
                name: '',
                color: '#27a7e4',
                data: [110, 90, 110, 90, 110, 90]
            }]
        });
    });

</script>
</html>